home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fritz: All Fritz
/
All Fritz.zip
/
All Fritz
/
FILES
/
PROGNG_C
/
UCW110.LZH
/
UC_ATT.H
< prev
next >
Wrap
Text File
|
1987-10-21
|
8KB
|
203 lines
/*************************************************************************
* uc_att.h *
* *
* This header file defines the attribute system used by Unicorn *
* Software products. *
* *
* *
* Copyright (c) 1987 by *
* David A. Miller *
* Unicorn Software *
* *
*************************************************************************/
#define BLACK 0
#define BLUE 1
#define GREEN 2
#define CYAN 3
#define RED 4
#define MAGENTA 5
#define BROWN 6
#define GRAY 7
#define DKGRAY 8
#define LTBLUE 9
#define LTGREEN 10
#define LTCYAN 11
#define LTRED 12
#define LTMAGENTA 13
#define YELLOW 14
#define WHITE 15
#define mk_att(fore,back) ((back<<4)+(fore)
#define NORMAL 0x007
#define REVERSE 0x070
#define UNDERLINE 0x001
#define HIGH_INT 0x008
#define BLINK 0x080
#define MESSAGE 16
#define ERROR 17
int UCW_ATT[300][2] = {
{0x000, NORMAL }, /* 0 */
{0x001, NORMAL },
{0x002, NORMAL },
{0x003, NORMAL },
{0x004, NORMAL},
{0x005, NORMAL },
{0x006, NORMAL },
{0x007, NORMAL },
{0x008, NORMAL },
{0x009, NORMAL },
{0x00a, NORMAL }, /* 10 */
{0x00b, NORMAL },
{0x00c, NORMAL },
{0x00d, NORMAL },
{0x00e, NORMAL },
{0x00f, NORMAL },
{0x010, NORMAL },
{0x011, NORMAL },
{0x012, NORMAL },
{0x013, NORMAL },
{0x014, NORMAL}, /* 20 */
{0x015, NORMAL },
{0x016, NORMAL },
{0x017, NORMAL },
{0x018, NORMAL },
{0x019, NORMAL },
{0x01a, NORMAL },
{0x01b, NORMAL },
{0x01c, NORMAL },
{0x01d, NORMAL },
{0x01e, NORMAL }, /* 30 */
{0x01f, NORMAL },
{0x020, NORMAL },
{0x021, NORMAL },
{0x022, NORMAL },
{0x023, NORMAL },
{0x024, NORMAL},
{0x025, NORMAL },
{0x026, NORMAL },
{0x027, NORMAL },
{0x028, NORMAL }, /* 40 */
{0x029, NORMAL },
{0x02a, NORMAL },
{0x02b, NORMAL },
{0x02c, NORMAL },
{0x02d, NORMAL },
{0x02e, NORMAL },
{0x02f, NORMAL },
{0x030, NORMAL },
{0x031, NORMAL },
{0x032, NORMAL }, /* 50 */
{0x033, NORMAL },
{0x034, NORMAL},
{0x035, NORMAL },
{0x036, NORMAL },
{0x037, NORMAL },
{0x038, NORMAL },
{0x039, NORMAL },
{0x03a, NORMAL },
{0x03b, NORMAL },
{0x03c, NORMAL }, /* 60 */
{0x03d, NORMAL },
{0x03e, NORMAL },
{0x03f, NORMAL },
{0x040, NORMAL },
{0x041, NORMAL },
{0x042, NORMAL },
{0x043, NORMAL },
{0x044, NORMAL},
{0x045, NORMAL },
{0x046, NORMAL }, /* 70 */
{0x047, NORMAL },
{0x048, NORMAL },
{0x049, NORMAL },
{0x04a, NORMAL },
{0x04b, NORMAL },
{0x04c, NORMAL },
{0x04d, NORMAL },
{0x04e, NORMAL },
{0x04f, NORMAL },
{0x050, NORMAL }, /* 80 */
{0x051, NORMAL },
{0x052, NORMAL },
{0x053, NORMAL },
{0x054, NORMAL},
{0x055, NORMAL },
{0x056, NORMAL },
{0x057, NORMAL },
{0x058, NORMAL },
{0x059, NORMAL },
{0x05a, NORMAL }, /* 90 */
{0x05b, NORMAL },
{0x05c, NORMAL },
{0x05d, NORMAL },
{0x05e, NORMAL },
{0x05f, NORMAL },
{0x060, NORMAL },
{0x061, NORMAL },
{0x062, NORMAL },
{0x063, NORMAL },
{0x064, NORMAL}, /* 100 */
{0x065, NORMAL },
{0x066, NORMAL },
{0x067, NORMAL },
{0x068, NORMAL },
{0x069, NORMAL },
{0x06a, NORMAL },
{0x06b, NORMAL },
{0x06c, NORMAL },
{0x06d, NORMAL },
{0x06e, NORMAL }, /* 110 */
{0x06f, NORMAL },
{0x070, NORMAL },
{0x071, NORMAL },
{0x072, NORMAL },
{0x073, NORMAL },
{0x074, NORMAL},
{0x075, NORMAL },
{0x076, NORMAL },
{0x077, NORMAL },
{0x078, NORMAL }, /* 120 */
{0x079, NORMAL },
{0x07a, NORMAL },
{0x07b, NORMAL },
{0x07c, NORMAL },
{0x07d, NORMAL },
{0x07e, NORMAL },
{0x07f, NORMAL }, /* 127 */
/* Unicorn software
reserves the array
positions up to 150.
If you wish to add
your own attributes
please start with
entry 150 to avoid
conflict with future
revisions. */
};
int ucw_att[300];
int ucv_mode;
int ucv_width;
int ucv_page;